package com.gcxy.vo.user;

import com.gcxy.vo.agency.AgencyVO;
import com.gcxy.vo.resource.ResourceVO;
import com.gcxy.vo.role.RoleVO;
import com.gcxy.vo.semester.SemesterVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @ClassName UserVO
 * @Author qinlun
 * @Date 2024/7/25 17:03
 * @Describe
 **/
@Data
@ApiModel(value = "UserVO", description = "用户响应信息")
public class UserVO {

    @ApiModelProperty("ID")
    private Integer id;

    @ApiModelProperty("用户账号")
    private String username;

//    @ApiModelProperty("用户密码")
//    private String password;

    @ApiModelProperty("用户姓名")
    private String fullName;

    @ApiModelProperty("用户备注")
    private String remarks;

    @ApiModelProperty("用户签名")
    private String signature;

    @ApiModelProperty("学期信息")
    private SemesterVO semester;

    @ApiModelProperty("组织机构信息")
    private AgencyVO agency;

    @ApiModelProperty(value = "角色信息")
    private List<RoleVO> roles;

    @ApiModelProperty(value = "资源信息")
    private List<ResourceVO> userResource;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;
}
